<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        body{
            perspective: 600px;
        }
        .mian{
            width: 319px;
            height: 319px;
            margin: 100px auto;
            position: relative;
            transform-style: preserve-3d;
            background-color: black;
            transition: all 2s;
        }
        .mian:hover{
            transform: rotate3d(0,1,0,180deg);
        }
        .zhong{
            transform: translateZ(1px);
        }
        .ziti{
            width: 320px;
            height: 220px;
            position: absolute;
            top: 30px;
            margin: 20px auto;
            background-image: linear-gradient(45deg,#FE1A5D,#f67000,#FFD23F);
            color: white;
            transform: translatez(-70px)rotate3d(0,1,0,180deg);
        }
        .ziti span{
            font-size: 18px;
            font-weight: bold;
        }
    </style>
</head>
<body>
    <div class="mian">
        <div class="zhong"><img src="./2.png" alt=""></div>
        <div class="ziti"><br><span>Post Title</span><br>Lorem ipsum dolor, sit amet consectetur adipisicing elit. Ratione, illum. 
            Fugit minus inventore sit, et officiis architecto porro esse? Aperiam 
            fuga enim impedit similique aspernatur facilis eaque ad, perspiciatis
             inventore.
            </div>
    </div>
    <div class="mian mai">
        <div class="zhong zhon"><img src="./3.png" alt=""></div>
        <div class="ziti zit"><br><span>Post Title</span><br>Lorem ipsum dolor, sit amet consectetur adipisicing elit. Ratione, illum. 
            Fugit minus inventore sit, et officiis architecto porro esse? Aperiam 
            fuga enim impedit similique aspernatur facilis eaque ad, perspiciatis
             inventore.
            </div>
    </div>
</body>
</html>